x86/mm: drop redundant domain parameter from get_page_from_gfn_p2m()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Jun 2017 07:58:07 +0000 (09:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Jun 2017 07:58:07 +0000 (09:58 +0200)
commit4514f788d1024ab727ed5d6cc29aed91111e8f24
tree2461f79d837468af35cdb552c27c3768a0a30748
parent96b08455dcbf5cd165bec2e9159f0fee9441f124
x86/mm: drop redundant domain parameter from get_page_from_gfn_p2m()

It can always be read from the passed p2m. Take the opportunity and
also rename the function, making the "p2m" suffix a prefix, to match
other p2m functions, and convert the "gfn" parameter's type.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/hap/guest_walk.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h